﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DBMode
{
    public interface IMethods<T>
    {
        /// <summary>
        /// 返回所有数据
        /// </summary>
        /// <returns></returns>
        List<T> Query();
        int Add(T t);
        int Delete(T t);
        int Update(T t);
    }
}
